home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19990725-20000114 / 000438_news@columbia.edu _Tue Jan 11 10:24:23 2000.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA05192
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Tue, 11 Jan 2000 10:24:23 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id JAA24582
  7.     for kermit.misc@watsun.cc.columbia.edu; Tue, 11 Jan 2000 09:54:39 -0500 (EST)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Subject: Re: Question on lockfiles...
  11. Date: 11 Jan 2000 14:54:37 GMT
  12. Organization: Columbia University
  13. Message-ID: <85fg7d$o01$1@newsmaster.cc.columbia.edu>
  14. To: kermit.misc@columbia.edu
  15.  
  16. In article <387AFA82.9797A1CE@lu.erisoft.se>,
  17. Anders Faltros  <Anders.Faltros@lu.erisoft.se> wrote:
  18. : We are using kermit in a lab, and it sometimes happens that someone
  19. : terminates kermit in some erroneous way and the lockfile in
  20. : /var/spool/locks remains after the program terminated.
  21. : We have no root access on the machines, so we can't just remove the
  22. : lockfiles.
  23. : Is there a way to tell kermit that other users should be able to remove
  24. : lockfiles, or is this perhaps a unix-question? Solaris 2.6 is used, ang
  25. : changing umask has no effect...
  26. The Unix idea of using "lockfiles" to arbitrate access to serial
  27. devices is just plain stupid.
  28.  
  29. Having said that :-) ...  Any program that deals with lockfiles should know
  30. how to handle stale ones.  Kermit does.  Just start Kermit again, give it
  31. a "set line" command for the same device, and it will remove the stale
  32. lockfile and create a new one.  Then exit from Kermit and it will remove
  33. the lockfile it just created.
  34.  
  35. cu, uucp, and all the others should behave exactly the same way.
  36.  
  37. See Appendix III of the manual and Sections 10 and 11 of the ckuins.txt
  38. file for lots of details on this topic.
  39.  
  40. - Frank